﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using TinyForum.Web.Extensions.Mvc;
using TinyForum.Web.Proxies.ServiceReference;

namespace TinyForum.Web.Controllers
{
    public class PostController : ThemeController
    {
        //
        // GET: /Post/

        public ActionResult DisplayPostDetail(long id)
        {
            using (PostApplicationClient postApplicationClient = new PostApplicationClient())
            {
                var model = postApplicationClient.GetPostDetail(id);
                return View(model);
            }
        }

    }
}
